package com.itheima.wms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.wms.common.service.ICrudService;
import com.itheima.wms.dto.OutboundDTO;
import com.itheima.wms.entity.OutboundEntity;
import com.itheima.wms.vo.BatchVO;
import com.itheima.wms.vo.OutboundDetailVO;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 业务接口
 * 出库单
 * </p>
 */
public interface OutboundService extends ICrudService<OutboundEntity> {

    BatchVO picking(List<Long> ids);

    IPage<OutboundDetailVO> pageDetail(Page<OutboundDetailVO> page, Map data);

    OutboundDetailVO getDetail(Long id);

    void cancel(OutboundDTO data);
}
